package com.buaa.daas.constant;

public class SaveUserType {
    public enum SaveUserTypeEnum{
        REGIST_SUCCESS(1,"注册成功"),
        STUNUM_EXISTED(2,"学号已存在，请不要重复注册！");

        private int code;
        private String msg;

        SaveUserTypeEnum(int code, String msg){
            this.code = code;
            this.msg = msg;
        }

        public int getCode(){
            return code;
        }

        public String getMsg(){
            return msg;
        }

    }
}
